package org.br.erp.rfq.po.vo;

import java.util.List;
import org.br.erp.rfq.po.entity.Scmpo;
import org.br.erp.rfq.po.entity.Scmpoattach;
import org.br.erp.rfq.po.entity.Scmpoitem;
import lombok.Data;
import org.hibernate.annotations.ColumnDefault;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;

/**
 * @Description: 采购订单
 * @Author: jeecg-boot
 * @Date:   2023-09-17
 * @Version: V1.0
 */
@Data
@ApiModel(value="scmpoPage对象", description="采购订单")
public class ScmpoPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**单据编号*/
	@Excel(name = "单据编号", width = 15)
	@ApiModelProperty(value = "单据编号")
    private java.lang.String billcode;
	/**单据日期*/
	@Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "单据日期")
    private java.util.Date billdate;
	/**地区*/
	@Excel(name = "地区", width = 15)
	@ApiModelProperty(value = "地区")
    private java.lang.String cityid;
	/**地区全名*/
	@Excel(name = "地区全名", width = 15)
	@ApiModelProperty(value = "地区全名")
    private java.lang.String fullcituname;
	/**供应商*/
	@Excel(name = "供应商", width = 15)
	@ApiModelProperty(value = "供应商")
    private java.lang.String vendorid;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private java.lang.String remarks;

	/**事故图片*/
	@Excel(name = "询价单号", width = 15)
	@ApiModelProperty(value = "询价单号")
	private String xjdbillcode;

	/**事故图片*/
	@Excel(name = "车牌号", width = 15)
	@ApiModelProperty(value = "车牌号")
	private String plate;

	@Excel(name = "事故号", width = 15)
	@ApiModelProperty(value = "事故号")
	private String accidentNumber;

	@Excel(name = "定损员", width = 15)
	@ApiModelProperty(value = "定损员")
	private String dsy;
	@Excel(name = "定损员联系方式", width = 15)
	@ApiModelProperty(value = "定损员联系方式")
	private String dsylinktel;

	@Column(length = 10)
	@ColumnDefault("0")
	private String deliveyflag;

//
//	/**事故图片*/
//	@Excel(name = "事故图片", width = 15)
//	@ApiModelProperty(value = "事故图片")
//	private java.lang.String deliveryimageString;



	@ExcelCollection(name="采购订单分录")
	@ApiModelProperty(value = "采购订单分录")
	private List<Scmpoitem> scmpoitemList;

	@ExcelCollection(name="采购附件")
	@ApiModelProperty(value = "采购附件")
	private List<Scmpoattach> scmpoattachList;

}
